<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" 	prefix="s"%>
<%@ include file="/jsp/common/common_head.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
<title>鹿图旅游语音播报平台</title>
<%@ include file="/jsp/common/common_script.jsp"%>
<style type="text/css">
</style>
</head>
<body>
<table class="queryTable" >
	<tr>
		<td class="queryTitle" width="80px">会员ID</td>
		<td class="queryContent">
			<input class="inputText" type="text" id="queryMemberId" />
		</td>
		<td class="queryTitle" width="80px">会员名</td>
		<td class="queryContent">
			<input class="inputText" type="text" id="queryMemberName" />
		</td>
		<td class="queryBtnTd">
			<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search"  onclick="doQuery()">查询</a>
		</td>
	</tr>
</table>

<table id="memberGrid"></table>
<div id="selectTypeDlg" class="easyui-dialog" title="选择会员类型" closed="true" style="width:240; height:auto;text-align:center; background: #fff;">
	<div style="padding:10px;">
	请选择会员类型:<select id="selctMemberType" class="easyui-combobox" panelHeight="auto" editable="false" style="width: 100px"></select>
	</div>
</div>

<div id="addDlg" class="easyui-window" title="" closed="true" style="width:700px; height:auto;text-align:center; background: #fff;">
	<div  border="false" style="padding-left:20px;">
		<input type="hidden" id="submitType"/>
		<form id="personalForm"  method="POST">
		<s:hidden id="userType" name="editUserInfoDto.userType" value="2"></s:hidden>
			<!-- <table border="0" class="queryTable" width="95%" height="auto" style="margin-bottom:0px;" id="personalTable">
				<tr>	
					<td class="queryTitle">会员类型</td>
					<td class="queryContent">
						<input type="text" id="memberTypeName" name="memberTypeName" class="readOnlyText" readonly="readonly"/>
						<input type="hidden" id="memberType"  name="memberType"/>
					</td>
					<td class="queryTitle">会员ID</td>
					<td class="queryContent">
						<input type="text" id="memberId" name="memberId" class="inputText easyui-validatebox" data-options="required:true,validType:'maxLength[20]'"/>
					</td>
				</tr>
				<tr>	
					<td class="queryTitle">会员名称</td>
					<td class="queryContent">
						<input type="text" id="memberName" name="memberName" class="inputText easyui-validatebox" data-options="required:true,validType:'maxLength[30]'"/>
					</td>
					<td class="queryTitle">身份证号码</td>
					<td class="queryContent">
						<input type="text" id="identityCard" name="identityCard"  class="inputText easyui-validatebox" data-options="required:true,validType:['idCard','maxLength[20]']"/>
					</td>
					
				</tr>
				
				<tr>
					<td class="queryTitle">手机</td>
					<td class="queryContent">
						<input type="text" id="mobilephone" name="mobilephone" class="inputText easyui-validatebox" data-options="required:true,validType:['phone','maxLength[20]']"/>
					</td>
					<td class="queryTitle">电子邮箱</td>
					<td class="queryContent">
						<input type="text" id="email" name="email" class="inputText easyui-validatebox" data-options="required:true,validType:['email','maxLength[100]']"/>
					</td>
				</tr>
				
				<tr>
					<td class="queryTitle">车主车牌号</td>
					<td class="queryContent">
						<input type="text" id="licensePlateNo" name="licensePlateNo" class="inputText easyui-validatebox" data-options="required:true,validType:['maxLength[40]']"/>
					</td>
					<td class="queryTitle">车辆归属地</td>
					<td class="queryContent" colspan="3">
						<input type="text" id="address" name="address" class="inputText easyui-validatebox" data-options="required:true,validType:['maxLength[300]']"/>
					</td>
				</tr>
				
				<tr>
					<td class="queryTitle">邮政编码</td>
					<td class="queryContent">
						<input type="text" id="postCode" name="postCode" class="inputText easyui-validatebox" data-options="validType:['postCode','maxLength[10]']"/>
					</td>
					<td class="queryTitle">QQ/MSN</td>
					<td class="queryContent">
						<input type="text" id="qq" name="qq" class="inputText easyui-validatebox" data-options="validType:['qq','maxLength[30]']"/>
					</td>
				</tr>
				<tr height="80px">
					<td class="queryTitle">车辆简介</td>
					<td class="queryContent" colspan="3">
            			<textarea id="introduction" name="introduction" rows="10" cols="70" class="inputText easyui-validatebox" style="width:100%;resize:none;" data-options="required:true,validType:['maxLength[2000]']"></textarea>
					</td>
				</tr>
			</table> -->
			<table border="0" class="queryTable" width="95%" height="auto" style="margin-bottom:0px;" id="personalTable">
				<tr>	
					<td class="queryTitle">会员类型</td>
					<td class="queryContent">系统管理员
						<!-- <input type="text" id="memberTypeName" name="memberTypeName" class="readOnlyText" readonly="readonly"/>
						<input type="hidden" id="memberType"  name="editUserInfoDto.userType"/> -->
					</td>
					<td class="queryTitle" id="useridTitle">会员ID</td>
					<td class="queryContent">
						<input type="text" id="userid" name="editUserInfoDto.id" class="inputText easyui-validatebox" data-options="required:true,validType:'maxLength[20]'"/>
					</td>
				</tr>
				<tr>	
					<td class="queryTitle">会员名</td>
					<td class="queryContent">
						<input type="text" id="username" name="editUserInfoDto.username" class="inputText easyui-validatebox" data-options="required:true,validType:'maxLength[20]'"/>
					</td>
					<td class="queryTitle">密码</td>
					<td class="queryContent">
						<!-- <input type="text" id="email" name="email" class="inputText easyui-validatebox" data-options="required:true,validType:['email','maxLength[100]']"/> -->
						<input type="password" id="password" name="editUserInfoDto.password" class="inputText easyui-validatebox txt pwd" data-options=""/>
					</td>
					
				</tr>
				<tr>	
					<td class="queryTitle">会员状态</td>
					<td class="queryContent">
					<select id="state" name="editUserInfoDto.state">
					<option value="1">可用</option>
					<option value="0">不可用</option>
					</select>
					</td>
					<td class="queryTitle"></td>
					<td class="queryContent">
						
					</td>
				</tr>
			</table>
		</form>
		<%-- <div id="notice" style="color:red">
		<strong>注意：</strong>新增会员的的默认密码统一为123456，请登录后及时更改！
		</div> --%>
	</div>

	<div style="clear:both;padding-top:10px;margin-bottom:10px;text-align:center;" id="addBtn">
		<a class="easyui-linkbutton" iconCls="icon-ok" href="javascript:void(0)" onclick="doPostData()">确定</a>
		<a class="easyui-linkbutton" iconCls="icon-cancel" href="javascript:void(0)" onclick="cancelPostData()">取消</a>
    </div>
</div>
<script type="text/javascript" src="${ctx }/js/member/sysuser_info.js"></script>
</body>
</html>
